package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * Isbar交班单A评估和班次详情表
 * </p>
 *
 * @author zqb
 * @date 2024-08-12 10:28:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "Isbar交班单A评估和班次详情")
public class BCareIsbarAPgSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 对应明细表id
     */
    @Schema(description = "对应明细表id")
    @NotNull(message = "请填写对应明细表id")
    private Long detailId;
    /**
     * 班次名称
     */
    @Schema(description = "班次名称")
    @Size(max = 64, message = "班次名称长度不能超过{max}")
    private String workName;
    /**
     * A评估
     */
    @Schema(description = "A评估")
    @Size(max = 255, message = "A评估长度不能超过{max}")
    private String aPg;
    /**
     * 交班时间
     */
    @Schema(description = "交班时间")
    private LocalDateTime jiaoBanTime;
    /**
     * 交班人
     */
    @Schema(description = "交班人")
    @Size(max = 64, message = "交班人长度不能超过{max}")
    private String jiaoBanName;
    /**
     * 接班时间
     */
    @Schema(description = "接班时间")
    private LocalDateTime jieBanTime;
    /**
     * 接班人
     */
    @Schema(description = "接班人")
    @Size(max = 64, message = "接班人长度不能超过{max}")
    private String jieBanName;



}
